package com.fdd.op.sdk.result;

import com.fdd.op.sdk.internal.mapping.ApiField;
import com.fdd.op.sdk.internal.mapping.ApiListField;

import java.util.Date;
import java.util.List;

public class CheckSignatureResult {

    @ApiField("docId")
    private String docId;

    @ApiField("sealId")
    private String sealId;

    @ApiField("accountId")
    private String accountId;

    @ApiField("userName")
    private String userName;

    @ApiField("checkWord")
    private String checkWord;

    @ApiField("checkResult")
    private Boolean checkResult;

    @ApiField("mobile")
    private String mobile;

    @ApiField("singleWordChecks")
    @ApiListField("singleWordChecks")
    private List<SingleWordCheck> singleWordChecks;

    @ApiField("createTime")
    private Date createTime;

    @ApiField("updateTime")
    private Date updateTime;

    @ApiField("signerAccountId")
    private String signerAccountId;

    @ApiField("companyId")
    private String companyId;

    @ApiField("companyName")
    private String companyName;

    public String getDocId() {
        return docId;
    }

    public void setDocId(String docId) {
        this.docId = docId;
    }

    public String getSealId() {
        return sealId;
    }

    public void setSealId(String sealId) {
        this.sealId = sealId;
    }

    public String getAccountId() {
        return accountId;
    }

    public void setAccountId(String accountId) {
        this.accountId = accountId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCheckWord() {
        return checkWord;
    }

    public void setCheckWord(String checkWord) {
        this.checkWord = checkWord;
    }

    public Boolean getCheckResult() {
        return checkResult;
    }

    public void setCheckResult(Boolean checkResult) {
        this.checkResult = checkResult;
    }

    public String getMobile() {
        return mobile;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public List<SingleWordCheck> getSingleWordChecks() {
        return singleWordChecks;
    }

    public void setSingleWordChecks(List<SingleWordCheck> singleWordChecks) {
        this.singleWordChecks = singleWordChecks;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getSignerAccountId() {
        return signerAccountId;
    }

    public void setSignerAccountId(String signerAccountId) {
        this.signerAccountId = signerAccountId;
    }

    public String getCompanyId() {
        return companyId;
    }

    public void setCompanyId(String companyId) {
        this.companyId = companyId;
    }

    public String getCompanyName() {
        return companyName;
    }

    public void setCompanyName(String companyName) {
        this.companyName = companyName;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("CheckSignatureResult{");
        sb.append("docId='").append(docId).append('\'');
        sb.append(", sealId='").append(sealId).append('\'');
        sb.append(", accountId='").append(accountId).append('\'');
        sb.append(", userName='").append(userName).append('\'');
        sb.append(", checkWord='").append(checkWord).append('\'');
        sb.append(", checkResult=").append(checkResult);
        sb.append(", mobile='").append(mobile).append('\'');
        sb.append(", singleWordChecks=").append(singleWordChecks);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", signerAccountId='").append(signerAccountId).append('\'');
        sb.append(", companyId='").append(companyId).append('\'');
        sb.append(", companyName='").append(companyName).append('\'');
        sb.append('}');
        return sb.toString();
    }
}
